{css style/quanly-form.css}
{js scripts/bomon.js}
<div class="content-wrap">
    <form action="/bomon/process" method="post" class="form-horizontal" id="bomon-form">
        <fieldset>
            <legend>
                {if them|0}
                Thêm Bộ Môn
                {else them}
                Sửa Bộ Môn <strong>{$bm_id|}</strong>
                {/if them}
            </legend>
            <div class="control-group">
                <label class="control-label" for="k_id">Khoa</label>
                <div class="controls">
                    <input type="hidden" id="k_id_state" value="{$k_id}">
                    <select name="k_id" id="k_id">
                        {loop khoa}
                        <option value="{$k_id}">{$k_ten}</option>
                        {/loop khoa}
                    </select>
                </div>
            </div>

            <div class="control-group">
                <label class="control-label" for="bm_ten">Tên Bộ Môn</label>
                <div class="controls">
                    <input type="text" name="bm_ten" id="bm_ten" value="{$bm_ten|}" style="width: 300px">
                </div>
            </div>

            <div class="control-group buttons">
                <input type="hidden" name="type" value="{$type}">
                <input type="hidden" name="bm_id" value="{$bm_id}">
                <a href="/khoa/view">Quay trở lại</a>
                <button type="submit" class="btn" name="submit">Đồng ý</button>
            </div>
        </fieldset>
    </form>
</div>